package com.cws.backup.properties;

import com.cws.backup.entity.BackupEntity;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author cws
 */
@Data
@Component
@ConfigurationProperties(prefix = "backup")
public class BackupProperties {
    private List<BackupEntity> taskList;
}
